import 'package:json_annotation/json_annotation.dart';
@JsonSerializable()
class UpdateBean {
  String codeId;
  String version;
  String content;
  String createTime;
  String date;
  String cancelable;
  String urlandroid;
  String urlios;
  String androiduriimage;
  String iosuriimage;

  UpdateBean(
      {this.codeId,
        this.version,
        this.content,
        this.createTime,
        this.date,
        this.cancelable,
        this.urlandroid,
        this.urlios,
        this.androiduriimage,
        this.iosuriimage});

  UpdateBean.fromJson(Map<String, dynamic> json) {
    codeId = json['codeId'];
    version = json['version'];
    content = json['content'];
    createTime = json['createTime'];
    date = json['date'];
    cancelable = json['cancelable'];
    urlandroid = json['urlandroid'];
    urlios = json['urlios'];
    androiduriimage = json['androiduriimage'];
    iosuriimage = json['iosuriimage'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['codeId'] = this.codeId;
    data['version'] = this.version;
    data['content'] = this.content;
    data['createTime'] = this.createTime;
    data['date'] = this.date;
    data['cancelable'] = this.cancelable;
    data['urlandroid'] = this.urlandroid;
    data['urlios'] = this.urlios;
    data['androiduriimage'] = this.androiduriimage;
    data['iosuriimage'] = this.iosuriimage;
    return data;
  }
}